<!DOCTYPE html>
<html>

<head>
    <title>{$info.company}</title>
    <meta charset="utf-8">
    <meta content="telephone=no,email=no" name="format-detection" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="target-densitydpi=device-dpi, width=400px, user-scalable=no" />
    <include file="Share:meta" />

    <style type="text/css">
        #oList {
            padding-top: 50px;
            color: #000;
        }
        
        #oList .header {
            position: fixed;
            top: 0px;
            left: 0px;
            width: 100%;
            background-color: #595757;
            height: 50px;
            display: block; 
            z-index: 100;
        }
        
        #oList .header>div>a {
            line-height: 50px;
            font-size: 16px;
        }
        
        #oList .header>div>button {
            height: 50px;
            background-color: #595757;
            box-shadow: none;
            border: 0px;
            font-size: 16px;
        }
    </style>
</head>

<body style="background-color: #f0f0f0;">
    <div id="oList">
        <div class="header">
                <div class="col-xs-3 textcenter">
                    <a href="/bizcard/account.html">返回</a>
                </div>
                <div class="col-xs-6 textcenter">
                    <a href="#">订单列表</a>
                </div>
                <div class="col-xs-3 textcenter">
                    
                </div>
            </div>
        <div class="container-fluid">
            <div class="row Mob_Row_Padd_M_2 bg_white bottom_line">
                <div class="col-xs-5">
                    <input type="date" name="stime" id="stime" class="form-control" value="" style="width:145px;">
                </div>
                <div class="col-xs-5" style="padding-left:0px;">
                    <input type="date" name="etime" id="etime" class="form-control" value="">
                </div>
                <div class="col-xs-2" style="padding-left:0px;">
                    <button type="button" class="btn btn-default" 
                    onclick="javascript:queryOrder();">查询</button>
                </div>
            </div>
            <div class="clear"></div>
            <div class="div_line2"></div>
            <volist name="orderlist" id="vo">
                <div class="row Mob_Row_Padd_M_2 bg_white">
                    <div class="col-xs-3">
                        <div> 
                            {$vo.order_no}
                        </div>
                    </div>
                    <div class="col-xs-6">
                        <div><span>{$vo.ctime}</span> </div>
                    </div>
                    <div class="col-xs-3 textright font6">
                        <span style="color: #f15353;">
                                <switch name="vo.order_status">
                                    <case value="1" break="1">未支付</case> <!--下单 -->
                                    <case value="3" break="3">付款中</case>
                                    <case value="4" break="4">取消</case>
                                    <case value="7" break="7">待处理</case>
                                    <case value="10" break="10">送达</case>
                                    <case value="11" break="11">完成</case>
                                </switch>
                        </span>
                    </div>
                </div>
                <div class="row Mob_Row_Padd_M_2 bg_white bottom_line">
                    <div class="col-xs-3"></div>
                    <div class="col-xs-5"><span>实付款：</span><span>&yen;{$vo.order_price}</span></div>
                    <div class="col-xs-4 textright">
                        <eq name="vo.order_status" value="1">
                              <button type="button" class="btn btn-warning" onclick="goPay('{$vo.order_no}');">去支付</button>
                            <else/>
                              <button type="button" class="btn btn-success" onclick=""> 详情</button>
                        </eq>
                    </div>
                </div>
            </volist>

        </div>
    </div>
</body>
<script type="text/javascript">
    function goPay(order_no){
        window.location.href="/Pay/wechat/order_no/"+order_no;
    }
</script>
</html>
